<template>
  <div class="topTitleBox">
    <van-nav-bar
      :title="texttitle"
      left-text=""
      left-arrow
      @click-left="onClickLeft"
      class="login_title"
      color="white"
    />
  </div>
</template>

<script>
export default {
  props: {
    texttitle: {
      type: String,
      require: true,
    },
    gourl: {
      type: String,
      require: true,
    },
  },

  data() {
    return {}
  },
  methods: {
    onClickLeft() {
      // this.$router.push(this.gourl)
      this.$router.back()
    },
  },
}
</script>

<style scoped lang="less">
.topTitleBox {
  margin-top: 50px;
}
.login_title {
  background-color: #21b97a !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}
</style>
